package BLC

import "fmt"

// 先用它查询余额
func (cli *CLI) getBalance(address string)  {

	fmt.Println("地址："+address)

	blockchain := BlockchainObject()
	defer blockchain.DB.Close()

	amount := blockchain.GetBlance(address)

	fmt.Printf("%s一共有%dToken\n",address,amount)

}
